package br.com.californiahotel.client.service;

import java.util.List;

import br.com.californiahotel.shared.models.Locacao;
import br.com.californiahotel.shared.models.Servico;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("locacao")
public interface LocacaoService extends RemoteService {

	boolean save(Locacao model);

	List<Locacao> findAll();

	boolean delete(String key);

	boolean edit(Locacao model, String id);

	List<Servico> findAllServicosById(Integer idApto);

}
